
import port from '../../utils/port'
/**
 * （不建议写成 request.post(xxx)，因为这样 post 时，无法 params 与 data 同时传参）
 *
 * 酒店管理
 * @method ticket 管理
 * 
 */
// 酒店房间表格
export const  room_list= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_roomtype/list',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店房间列表
export const  room_list_list= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_room/list',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店门店的店名列表
export const  room_list_list_shop= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_shop/list',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店房间添加
export const  room_list_list_shop_add= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_room/save',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店房间删除
export const  room_room_del= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_room/del',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店列表
export const  room_room_lists= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_shop/list',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店编辑
export const  room_shop_add= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_shop/save',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店删除
export const  room_room_shop_del= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_shop/del',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店订单
export const  room_order_list= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_order/list',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店房型添加
export const  room_tyoe_save= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_roomtype/save',
		method: 'post',
		headers:token,
        data
	})
}
// 酒店房型删除
export const  room_type_del= (token,data) => {
	console.log(data);
	return port({
		url: '/pc/room_roomtype/del',
		method: 'post',
		headers:token,
        data
	})
}